using Dto;

namespace Model
{
    public class GameModel
    {
        public Account Account { get; set; }
        public MatchRoomDto MatchRoom { get; set; }

        public Account GetUserDto(string userid)
        {
            return MatchRoom.uids[userid];
        }

        public string GetLeftUserId()
        {
            return MatchRoom.LeftId;
        }
        
        public string GetRIghtUserId()
        {
            return MatchRoom.RightId;
        }
    }
}